package online.longzipeng.cinemasys.vo.hall;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Min;

/**
 * @author lzp
 * @date 2021/4/10 10:07
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "影厅修改对象",description = "请求参数类")
public class HallUpdateVO {

    @ApiModelProperty(value = "id",example = "0",required = true)
    @Min(value = 0,message = "必须为大于0的数字")
    private Long id;

    /**
     * 影厅名称
     */
    @ApiModelProperty(value = "影厅名称",example = "天上人间",required = false)
    private String name;

    /**
     * 影厅描述
     */
    @ApiModelProperty(value = "影厅描述",example = "环境优雅",required = false)
    private String description;

    /**
     * 座位布局json数据
     */
    @ApiModelProperty(value = "影厅名称",example = "二维数组 0为空，1为有座位，{}",required = false)
    private String seatsJson;

    /**
     * 影厅座位数量
     */
    @ApiModelProperty(value = "座位数量",example = "1",required = false)
    private Integer seats;

}
